+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
+Sun Mar 04 07:30:03 2001 CET Mikael Hermansson<mikeh@bahnhof.se>
+
+ * gtk/gtktextview.c: fixed bug #51097 about setting gtk_text_view_set_border_window_size()
+ if the widget is already realized.
+
Sat Mar 3 16:59:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.h gdk/x11/gdkwindow-x11.c: Doc fixes
*winp = text_window_new (type,
GTK_WIDGET (text_view),
width, 0);
+ /* if the widget is already realized we need to realize the child manually */
+ if (GTK_WIDGET_REALIZED (text_view))
+ text_window_realize (*winp,
+ GTK_WIDGET(text_view)->window);
}
else
{
*winp = text_window_new (type,
GTK_WIDGET (text_view),
0, height);
+
+ /* if the widget is already realized we need to realize the child manually */
+ if (GTK_WIDGET_REALIZED (text_view))
+ text_window_realize (*winp,
+ GTK_WIDGET(text_view)->window);
}
else
{